package com.samuel.dao;

import com.samuel.entities.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author a neng huang
 * @since 2021-02-25 10:10
 */
@Mapper
public interface OrderDao {

    List<Order> list();

    Order getById(@Param("id") String id);

    int create(Order order);
}
